package org.example.ai_chat.service.impl;

import org.example.ai_chat.mapper.userStatusMapper;
import org.example.ai_chat.pojo.user_status;
import org.example.ai_chat.service.StatusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StatusServiceImpl implements StatusService {
    @Autowired
    private userStatusMapper userStatusMapper;
    @Override
    public user_status selectStatusByUserId(int userId) {
        return userStatusMapper.selectUserStatusById(userId);
    }
}
